Skip to content

Releases: leonelquinteros/gotext

v1.7.2

01 Jun 16:23
dfb32f2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.7.1...v1.7.2

v1.7.1

14 Feb 18:23
Compare
Choose a tag to compare

Dependencies upgraded to fix some issues related to Go version bump

Full Changelog: v1.7.0...v1.7.1

v1.7.0

27 Sep 18:01
Compare
Choose a tag to compare

Bumping minor version due to Go language version bumping.

What's Changed

  • Fix IsTranslated* functions using n directly rather than using the nth plural form by @sblinch in #95
  • go embed fs with path by @llonchj in #98

New Contributors

Full Changelog: v1.6.1...v1.7.0

v1.6.1

05 Jun 14:06
b119ef1
Compare
Choose a tag to compare

Full Changelog: v1.6.0...v1.6.1

v1.6.0

09 Apr 13:40
c7c2135
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.2...v1.6.0

v1.5.2

23 Feb 12:23
6f9bcaa
Compare
Choose a tag to compare

Bump golang.org/x/text from 0.3.7 to 0.3.8

v1.5.1

20 Dec 21:32
531e674
Compare
Choose a tag to compare

Small release with minor improvements, mainly related to dependencies.

v1.5.0

10 May 13:47
1b8a993
Compare
Choose a tag to compare

Long release with small additions.
We're pretty much releasing all small changes and refactoring that have been implemented since the last release.

I think the most important addition is the CLI tool to extract translation strings into .po files. It has been worked for a while in the master branch, but now it's officially included (as is) in a release.

For those who wants to know the exact changes since last release, here is a diff for you: v1.4.0...1b8a993

Enjoy, contribute, create issues and send PRs!

v1.4.0

12 Sep 18:19
Compare
Choose a tag to compare

Biggest release so far!

  • Introducing MO files support! Thanks to @Dexus for the implementation.
  • We have changed the way to parse the plural expressions by implementing our own plural expression parser. Thanks to @Dexus again for the hard work on this! Now this package has no external dependencies, which was a goal to achieve.
  • New Translator interface allows Locale objects to use any translation source backend (non-gettext).
  • Locale and Po objects now can be serialized. They implement the encoding.BinaryMarshaler and encoding.BinaryUnmarshaler interfaces. This way they can be cached as []byte to avoid translation file parsing in concurrent environments.
  • Added support for Go Modules. Now a project using Go Modules can import this package as a module outside the GOPATH.

Relevant commits:

v1.3.1

14 Feb 15:08
Compare
Choose a tag to compare

Following the changes in v1.3.0, this release includes the same approach for the Locale object methods.

Relevant commits